﻿/*
 * @Author: Song Xinxin
 * @Date: 2022-10-28 10:52:03
 * @LastEditors: Song Xinxin
 * @LastEditTime: 2022-11-08 12:08:23
 * @FilePath: \WYW_0419_Oasis\JavaScripts\Consts.ts
 * @Description: 游戏内的常量表
 * 
 * Copyright (c) 2022 by error: git config user.name && git config user.email & please set dead value or install git, All Rights Reserved. 
 */
export namespace Consts
{
	/**
	 * 枪模型guid
	 */
	export const GUN_GUID:string = "21057";
	
	/**
	 * 包裹枪的光圈特效guid
	 */
	 export const GUN_EFFECT_GUID:string = "88781";

	/**
	 * 持枪动作姿态guid
	 */
	export const HOLD_GUN_GUID:string = "49096";

	/**
	 * 开枪动作姿态guid
	 */
	export const SHOOT_ATTITUDE_GUID:string = "49098";

	/**
	 * 子弹模型guid
	 */
	export const BULLET_GUID:string = "43362";

	/**
	 * 子弹击中物体特效guid
	 */
	export const BULLET_HIT_EFFECT_GUID:string = "13407";

	/**
	 * 游戏时间
	 */
	export const GAME_TIME:number = 300;

	/**
	 * 玩家复活时间
	 */
	export const RES_TIME:number = 5;

	/**
	 * NPC复活时间
	 */
	export const NPC_RES_TIME:number = 1;

	/**
	 * 初生点位置
	 */
	export const BIRTH_POSITION:Type.Vector[] = 
	[
		new Type.Vector(4670,6130,0),
		new Type.Vector(4480,88,1708),
		new Type.Vector(19,955,2789),
		new Type.Vector(-300,-3463,3130),
		new Type.Vector(-4214,1100,230),
		new Type.Vector(-5307,1394,2336),
	];

	/**
	 * NPC寻路目标点
	 */
	export const TARGET_POSITION:Type.Vector[] = 
	[
		new Type.Vector(2000,2350,160),
		new Type.Vector(1800,-4000,160),
		new Type.Vector(-4700,-4200,160),
		new Type.Vector(-3400,2400,160)
	]

	/**
	 * 触发器guid
	 */
	export const TRIGGER_GUID:string = "113";
	
	/**
	 *人形对象guid
	 */
	export const NPC_GUID:string = "31969";


	/**
	 * 武器属性
	 */
	export namespace WeaponAttr
	{
		/**
		 * 攻击力
		 */
		export const damage:number = 30;
		/**
		 * 射程
		 */
		export const range:number = 5000;
		/**
		 * 攻击间隔时间  单位：秒
		 */
		export const cooldown:number = 0.2;
	}

	/**
	 * 技能属性
	 */
	export namespace SkillAttr
	{
		/**
		 * 隐身技能
		 */
		export namespace Hide
		{
			/**
			 * CD
			 */
			export const CD:number = 10;

			/**
			 * 持续时间
			 */
			export const duration:number = 4;
		}

		/**
		 * 飞行技能
		 */
		export namespace Fly
		{
			/**
			 * CD
			 */
			export const CD:number = 10;

			/**
			 * 持续时间
			 */
			export const duration:number = 7;
		}

	}

	/**
	 * 音效
	 */
	export namespace Sound
	{
		/**
		 * 按钮音效
		 */
		export const Button:string = "29134";

		/**
		 * 开枪音效
		 */
		export const Shoot:string = "39320";

		/**
		 * 击中物体音效
		 */
		export const Hit:string = "12344";

		/**
		 * 角色被击中音效
		 */
		export const hitCharacther:string = "34767";

	}

	/**
	 * 背景音乐
	 */
	export namespace BGM
	{
		/**
		 * 开始界面BGM
		 */
		export const Start:string = "47755";

		/**
		 * 游戏时BGM
		 */
		export const Game:string = "97868";

		/**
		 * 结算时BGM
		 */
		export const Over:string = "107599";
		
	}

	/**
	 * 装扮guid
	 */
	export namespace Dress
	{
		/**
		 * 布偶猫
		 */
		export namespace Ragdoll
		{
			export const chara:string = "47ECFCB845A3962AC3B6FF99599E5165"; //角色

			export const hair:string = "040674B34F107864F35D11B2B88A7977"; //头发

			export const upper:string = "53A737304D75466C001C65AE372AEEEF"; //上衣

			export const lower:string = "BE21D44D43829952CAF682B8A028BD20"; //下衣

			export const hand:string = "81198722454AEE15D42EBB83F38A9F81"; //手

			export const foot:string = "82E8B3834CE463955938DE90FFE04CBD"; //脚

			//全套
			export const all:string[] = 
			[
				Consts.Dress.Ragdoll.chara,
       			Consts.Dress.Ragdoll.foot,
        		Consts.Dress.Ragdoll.hair,
        		Consts.Dress.Ragdoll.hand,
        		Consts.Dress.Ragdoll.lower,
        		Consts.Dress.Ragdoll.upper
			];
			
		}

		/**
		 * 雪精灵
		 */
		export namespace Flamer
		{
			export const chara:string = "41B4E5B747AF0D53483290BCBD718E67"; //角色
 
			export const hair:string = "A626B3D3493836012A68D3950B84C2D4"; //头发
 
			export const upper:string = "5DB9A68142A39F6122217EA7F6EE65C0"; //上衣
 
			export const lower:string = "E7C4F4EF4A2CCAB1D49E598160EB1C88"; //下衣
 
			export const hand:string = "7686E3A14352914C60E9649CE7B0EF53"; //手
 
			export const foot:string = "253F2EA54ABA60204D2BF19068451AF1"; //脚
 
			//全套
			export const all:string[] = 
			[
				Consts.Dress.Flamer.chara,
				Consts.Dress.Flamer.foot,
				Consts.Dress.Flamer.hair,
				Consts.Dress.Flamer.hand,
				Consts.Dress.Flamer.lower,
				Consts.Dress.Flamer.upper
			];
			 
		}
	}

}